package ex0501;
public class Test{
	public static void main(String[] args){
		MusicBox f= null;
		f= MusicBoxFactory.getlnstance("PianoBox");
		f= MusicBoxFactory.getlnstance("ViolinBox");
		f.play();
	}
}                      
